local shushou = fk.CreateSkill({
  name = "js__shushou",
  tags = {Skill.Compulsory},
})

shushou:addEffect("prohibit", {
  prohibit_use = function (self, player, card)
    local subcards = card:isVirtual() and card.subcards or {card.id}
      return #subcards > 0 and table.every(subcards, function(id)
        return table.contains(player:getCardIds("h"), id)
      end) and player.phase == Player.Play and player:hasSkill(shushou.name)
  end,
})

shushou:addEffect("maxcards", {
  correct_func = function(self, player)
    if player:hasSkill(shushou.name) then
      return player.maxHp
    end
  end,
})

shushou:addEffect(fk.EventPhaseStart, {
  anim_type = "support",
  can_trigger = function(self, event, target, player, data)
    if target == player and not player.dead then
      return player:hasSkill(shushou.name) and player.phase == Player.Play
    end
  end,
  on_use = function(self, event, target, player, data)
    player.room:delay(1)
  end
})

Fk:loadTranslationTable {
["js__shushou"] = "束手",
[":js__shushou"] = "<b>锁定技</b>，出牌阶段，你不能使用手牌；你的手牌上限+X（X为你的体力上限）。",
["$js__shushou1"] = "狼在前，虎在后，徒玉玺在手，令止于方寸。",
["$js__shushou2"] = "朕如牵丝之偶，行止由人，徒增天下之笑尔。",
}
return shushou